package com.zlp.design.demo.v3.before;

public class TestComputer {
    public static void main(String[] args) {

        Computer computer = new Computer();
        computer.setHardDisk(new XiJieHardDisk());
        computer.setCpu(new IntelCpu());
        computer.setMemory(new KingstonMemory());
        computer.run();
    }
}